package com.zhl.common.exception;

import com.zhl.common.enums.IEnum;

/**
 * @description 断言异常
 * @Author: z156940l@outlook.com
 * @className AssertsException
 * @Date: 2023/6/4 16:38
 */
public class AssertsException extends BaseException{
    private static final long serialVersionUID = -3087400251176000425L;
    public AssertsException() {
        super();
    }

    public AssertsException(IEnum error) {
        super(error);
    }

    public AssertsException(String msg) {
        super(msg);
    }

    public AssertsException(IEnum error, Object data) {
        super(error, data);
    }

    public AssertsException(IEnum error, String msg, Object data) {
        super(error, msg, data);
    }
}
